<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="f" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="s" uri="http://stripes.sourceforge.net/stripes.tld" %>

<s:layout-render name="/frontend/layout.jsp">
    <s:layout-component name="content">
        <s:useActionBean beanclass="cz.muni.fi.pa165.travelagency.web.frontend.OrderActionBean" var="actionBean"/>
        
        <div id="order">
            <center><h3><f:message key="order.result" /></h3></center>

            <div><span class="pt-label">
                    <f:message key="package-tour" />: </span>
                    <c:out value="${actionBean.order.orderedPackageTour.name}" />
            </div>
            <div><span class="pt-label">
                     <f:message key="order.numberOfPersons"/>: </span>
                     <c:out value="${actionBean.order.numberOfPersons}"/>
             </div>
             <div><span class="pt-label">
                     <f:message key="order.price"/>: </span>
                     <c:out value="${actionBean.order.price}"/>
             </div>

        </div>
    </s:layout-component>
</s:layout-render>